home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-10-23 | 503 b | 22 lines | [TEXT/ScoM] |
- do-quietly form
-
- This enables to execute SCOM functions without the message on the Listener.
- When you define new functions than use SCOM functions wrap the function
- inside do-quietly.
-
- (defun new-function (x)
- (diagnostic2 "new-function " x $cr$)
- (do-quietly
- (symbol-transpose 1 (symbol-retrograde x))))
-
- When the new-function is evaluated it prints on listener new-function (a b c) and then returns the values.
-
- (new-function '(a b c))
-
- prints
- new-function (a b c)
-
- returns
- --> (d c b)
-
-